package com.ruoyi.parkmangement.domain;


import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 park
 *
 * @author ruoyi
 * @date 2025-03-27
 */
public class Park extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long parkId;

    /** $column.columnComment */
    @Excel(name = "停车场id")
    private Long propertyId;

    /** $column.columnComment */
    @Excel(name = "停车场名称")
    private String parkName;

    /** $column.columnComment */
    @Excel(name = "车位数")
    private Long parkCount;

    /** $column.columnComment */
    @Excel(name = "包月金额")
    private Long monthlyPrice;

    /** $column.columnComment */
    @Excel(name = "免费时长")
    private Long freeDuration;

    /** $column.columnComment */
    @Excel(name = "收费单位")
    private Long chargeUnit;

    /** $column.columnComment */
    @Excel(name = "每小时收费")
    private Long chargePrice;

    /** $column.columnComment */
    @Excel(name = "最大收费金额")
    private Long maxCharge;

    /** $column.columnComment */
    @Excel(name = "经度")
    private BigDecimal lng;

    /** $column.columnComment */
    @Excel(name = "纬度")
    private BigDecimal lat;

    public void setParkId(Long parkId)
    {
        this.parkId = parkId;
    }

    public Long getParkId()
    {
        return parkId;
    }
    public void setPropertyId(Long propertyId)
    {
        this.propertyId = propertyId;
    }

    public Long getPropertyId()
    {
        return propertyId;
    }
    public void setParkName(String parkName)
    {
        this.parkName = parkName;
    }

    public String getParkName()
    {
        return parkName;
    }
    public void setParkCount(Long parkCount)
    {
        this.parkCount = parkCount;
    }

    public Long getParkCount()
    {
        return parkCount;
    }
    public void setMonthlyPrice(Long monthlyPrice)
    {
        this.monthlyPrice = monthlyPrice;
    }

    public Long getMonthlyPrice()
    {
        return monthlyPrice;
    }
    public void setFreeDuration(Long freeDuration)
    {
        this.freeDuration = freeDuration;
    }

    public Long getFreeDuration()
    {
        return freeDuration;
    }
    public void setChargeUnit(Long chargeUnit)
    {
        this.chargeUnit = chargeUnit;
    }

    public Long getChargeUnit()
    {
        return chargeUnit;
    }
    public void setChargePrice(Long chargePrice)
    {
        this.chargePrice = chargePrice;
    }

    public Long getChargePrice()
    {
        return chargePrice;
    }
    public void setMaxCharge(Long maxCharge)
    {
        this.maxCharge = maxCharge;
    }

    public Long getMaxCharge()
    {
        return maxCharge;
    }
    public void setLng(BigDecimal lng)
    {
        this.lng = lng;
    }

    public BigDecimal getLng()
    {
        return lng;
    }
    public void setLat(BigDecimal lat)
    {
        this.lat = lat;
    }

    public BigDecimal getLat()
    {
        return lat;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("parkId", getParkId())
                .append("propertyId", getPropertyId())
                .append("parkName", getParkName())
                .append("parkCount", getParkCount())
                .append("monthlyPrice", getMonthlyPrice())
                .append("freeDuration", getFreeDuration())
                .append("chargeUnit", getChargeUnit())
                .append("chargePrice", getChargePrice())
                .append("maxCharge", getMaxCharge())
                .append("lng", getLng())
                .append("lat", getLat())
                .toString();
    }
}
